﻿using CommunityToolkit.Mvvm.ComponentModel;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Vision.Abstractions.Processing;

namespace Vision.Host.Runtime
{
    /// <summary>
    /// 图像处理参数服务实现
    /// </summary>
    public partial class ImageProcessingParameters : ObservableObject, IImageProcessingParameters
    {
        private double _binaryThreshold = 128;
        private double _edgeThreshold = 100;


        // Explicitly implement the interface properties
        public double BinaryThreshold
        {
            get => _binaryThreshold;
            set => SetProperty(ref _binaryThreshold, value);
        }

        public double EdgeThreshold
        {
            get => _edgeThreshold;
            set => SetProperty(ref _edgeThreshold, value);
        }
    }
}
